package none.rg.gantt.model;


/**
 * Class representing the Milestone. Technically it is simply the task with
 * fixed duration of zero.
 * @author Rodion Gorkovenko
 */
public class Milestone extends Task {
    
    
    /** Mark for the task type. See {@link Task#SPECIAL_TYPE} */
    public static final String SPECIAL_TYPE = "milestone";
    
    
    /**
     * Public constructor, same as for task but without duration (which is 0)
     * and "fixedDuration" flag (which is true).
     * @param chart Chart which holds the task.
     * @param title Title for the milestone
     */
    public Milestone(Chart chart, String title) {
        super(chart, title, 0);
    } // Milestone
    
    
} // class Milestone
